package cn.ulc.socket.admin.service.order;

import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.order.OrderListDTO;
import cn.ulc.socket.admin.model.param.deposit.BackBucketParam;

import java.util.List;
import java.util.Map;

public interface OrderServ {

    Map<String,Object> findOrderStat(Long companyId,String startDate,String endDate);

    OrderListDTO findListPage(String orderNo, String status, String begin, String end , PaginationParam param);

    OrderListDTO findRiderListPage(Long riderId,String orderNo, String begin, String end , PaginationParam param);

    Boolean dispatchOrder(String orderNo,Long riderId);

    Boolean refund(String orderNo);


    Map<String,Object> findMemberStat(String beginDate, String endDate);

    List<Map<String,Object>> findMemberRankingStat(String beginDate, String endDate);

    List<Map<String,Object>> findPeriodMemberStat(String type, String cycle,String beginDate, String endDate);

    Map<String,Object> findMemberOrder(String beginDate,String endDate);

}
